<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>会员登录 - 易购GO_返利网</title>
<meta name="keywords" content="易购GO,会员登录" />
<meta name="description" content="易购GO,注册易购GO,注册成为易购GO会员" />
<{assign var="layout" value="3"}>
<{include file="../site/_meta.html"}>
</head>

<body>
<{include file="../site/_top.html"}>
<div id="Container">

	<!-- header -->
	<div id="Header" class="clearfix">
		<{assign var="menu" value="user"}>
		<{include file="../site/_header.html"}>
		
		<!-- 导航模块 -->
		<div id="Locationline">
			当前位置： <a href="<{$domain}>">易购GO</a> &gt; 会员中心 &gt; 会员登录
		</div>
	</div>
	<!-- /header -->
	
	<!-- body -->
	<div id="Body" class="clearfix">
	
		<!-- main -->
		<div id="Wrapper">
			<div id="Main">
				<div id="userPannel" class="content clearfix">
					<div class="top">会员登录</div>
					<div class="in">
						<!-- 左 -->
						<div class="left">
							<form id="formLogin" method="POST">
								<div class="line">
									<label class="hd">用户名(邮箱)：</label>
									<input type="text" class="input middle" name="username" value="<{$smarty.post.username}>" />
								</div>
								<div class="line">
									<label class="hd">密码：</label>
									<input type="password" class="input middle" name="password" />
								</div>
								<div class="line">
									<label class="hd">&nbsp;</label>
									<input id="chkRememberme" type="checkbox" name="rememberMe" value="1">
									<label for="chkRememberme">记住用户名</label>
								</div>
								<div class="line">
									<label class="hd">&nbsp;</label>
									<input type="submit" class="button" value="登录" />
								</div>
							</form>
						</div>
						
						<!-- 右 -->
						<div class="right">
							<p class="first">还没有易购GO会员？赶紧注册吧<a href="<{url r='user/site/register'}>">免费注册</a></p>
							<p>您也可以用站外账号登录：</p>
							<ul class="oauth clearfix">
								<li><a target="_blank" href="<{url r='user/login/QQ'}>" class="qq"></a></li>
								<li><a target="_blank" href="<{url r='user/login/Sina'}>" class="sina"></a></li>
							</ul>
						</div>
						
						<!---->
					</div>
				</div>
			</div>
		</div>
		<!-- /main -->
		
		<!-- sidebar -->
		<div id="SideBar"></div>
		<!-- /sidebar -->
	</div>
	<!-- /body -->
	
	<!-- footer -->
	<div id="Footer" class="clearfix"><{include file="../site/_footer.html"}></div>
	<!-- /footer -->
</div>
</body>
</html>

<!-- JS -->
<{JS}>
<script type="text/javascript">
$(function() {
	/// 登录表单
	$("#formLogin").validate({
		rules: {
			username: {
				required: true,
				email: true
			},
			password: {
				required: true
			}
		},
		messages: {
			username: {
				required: "请输入用户名",
				email: "请输入合法邮箱"
			},
			password: {
				required: "请输入密码"
			}
		},
		submitHandler: function() {
			form.submit();
			///
			return false;
		}
	});
});
</script>
